package ask.speedy.basic;

import java.util.Vector;

import ask.speedy.util.Constant;

public class Modem extends TutorialObject {
	
	private Vector<ModemContent> modem_content;
	
	public Modem(String name, Vector<ModemContent> modem_content) {
		super(Constant.TUTORIAL_MODEM, name);
		this.modem_content = modem_content;
	}
	
	public Modem(String name) {
		super(Constant.TUTORIAL_MODEM, name);
		this.modem_content = new Vector<ModemContent>();
	}


	/**
	 * @return the modem_content
	 */
	public Vector<ModemContent> getModem_content() {
		return modem_content;
	}

	/**
	 * @param modem_content the modem_content to set
	 */
	public void setModem_content(Vector<ModemContent> modem_content) {
		this.modem_content = modem_content;
	}
	
	public void addModem_content(String title, Vector<String> content) {
		ModemContent modemcontent = new ModemContent(title, content);
		modem_content.add(modemcontent);
	}
}
